Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtisQ&A DiscussƵes
what have i to do, if i want that the program always writes for example :
0+1
1+2
3+3
6+4
10+5
15+6
...
because now it just writes
1
3
6
10
15
...
and maybe if it works, can i make then
0+1=1
1+2=3
3+3=6
6+4=10
#include <iostream>
using namespace std;
int main(){
int i;
int sum = 0;
for (i = 1; i <= 100; i++){
sum = sum+i;
cout<<sum<<endl;
}
cout<<sum;
return 0;
}
1 Voto
5 RespostasWher is mistake?
0 Voto
5 RespostasQuente hoje
Comparing code coach solutions
3 Votes
Automatation python
1 Votes
General python
1 Votes
Coding
1 Votes
view challenge analytics
2 Votes
header only implementation
1 Votes
Problem with application
0 Votes
how to create a website
0 Votes
How and where to use html?
0 Votes
Generative AI
0 Votes